package com.bit.silverstar;

import android.content.Context;
import android.util.AttributeSet;
import android.view.Display;
import android.widget.VideoView;

public class MyVideoView extends VideoView {

	public MyVideoView(Context context, AttributeSet attrs) {
		super(context, attrs);
	}
	@Override
	protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
		int width=MeasureSpec.getSize(widthMeasureSpec);
		int height =MeasureSpec.getSize(heightMeasureSpec);
	setMeasuredDimension(width,height);
	}
	
}
